//
//  CommonHeader.h
//  EUCIOS
//
//  Created by Khang on 3/29/13.
//  Copyright (c) 2013 Khang. All rights reserved.
//

#import "JSONKit.h"
#import "BundleManager.h"
#import "Common.h"

#define RELEASE(__POINTER) { if (__POINTER) {[__POINTER release]; __POINTER = nil; }}

#define IMAGE(image, bundle) [[BundleManager sharedBundleManager] getBundleImage:image fromBundle:bundle]

#define STRING(key) (NSLocalizedString(key, @""))

#define COLOR(r, g, b)          [UIColor colorWithRed:r/255.f green:g/255.f blue:b/255.f alpha:1.f]
#define COLORA(r, g, b, a)      [UIColor colorWithRed:r/255.f green:g/255.f blue:b/255.f alpha:a]
#define COLORCLEAR              [UIColor clearColor]
